cmake_minimum_required(VERSION 3.0.0)
project(boost210531 VERSION 0.1.0)

cmake_policy(SET CMP0074 NEW)

find_package(Boost 1.76.0 REQUIRED COMPONENTS
                          date_time)

if(Boost_FOUND)
  include_directories(${Boost_INCLUDE_DIRS})
  message("Boost_INCLUDE_DIRS=${Boost_INCLUDE_DIRS}")
endif()

find_package(CGAL)
if(CGAL_FOUND)
  include_directories(${CGAL_INCLUDE_DIRS})
  message("CGAL_INCLUDE_DIRS=${CGAL_INCLUDE_DIRS}")
endif()

find_package(GMP)
if(GMP_FOUND)
  include_directories(${GMP_INCLUDE_DIR})
  message("GMP_INCLUDE_DIR=${GMP_INCLUDE_DIR}")
endif()

add_executable(boost210531 main.cpp)

target_link_libraries(boost210531 Boost::date_time)